Skip to content

Drop the trapped margin above the dots on two Hawaii pages - #66

Merged
RossHathaway merged 1 commit into
masterfrom
claude/dots-component-margin-fix-a5sit6
Sep 7, 2026
Merged

RossHathaway merged 1 commit into
masterfrom
claude/dots-component-margin-fix-a5sit6

Conversation

@RossHathaway

Copy link
Copy Markdown
Owner

The centered block above the first dots divider on Obama's Neighborhood
and Hike To Diamond Head Lighthouse is a flex column, and flex containers
never collapse their items' margins. The block's trailing paragraph kept
its 20px margin-bottom inside the container's border box, where it could
not collapse with the divider's own margin-block and instead stacked on
top of it: 52px above the dots against 34px below, so the dots sat low
rather than centred in the break.

Zero that last item's bottom margin on both pages and the divider owns
the whole gap again, matching the 34px every other divider on the site
already has on both sides.

Co-Authored-By: Claude Opus 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01XB5gBAQPTA7hFETKF4EANj

The centered block above the first dots divider on Obama's Neighborhood
and Hike To Diamond Head Lighthouse is a flex column, and flex containers
never collapse their items' margins. The block's trailing paragraph kept
its 20px margin-bottom inside the container's border box, where it could
not collapse with the divider's own margin-block and instead stacked on
top of it: 52px above the dots against 34px below, so the dots sat low
rather than centred in the break.

Zero that last item's bottom margin on both pages and the divider owns
the whole gap again, matching the 34px every other divider on the site
already has on both sides.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XB5gBAQPTA7hFETKF4EANj
@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
jack-christensen Ready Ready Preview Sep 7, 2026 7:22pm UTC

@RossHathaway
RossHathaway merged commit c9e917f into master Sep 7, 2026
3 checks passed
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

Visual regression: claude/dots-component-margin-fix-a5sit6 vs master

2 changed, 0 added, 0 removed, 48 unchanged (50 pages total)

Page Status Pixels changed Notes
/contents/hawaii/hike-to-diamond-head-lighthouse/ 🔴 changed 340,081 (6.21%) page size 1280x4277 -> 1280x4257; diff: diffs/contents_hawaii_hike-to-diamond-head-lighthouse.png
/contents/hawaii/obama-s-neighborhood/ 🔴 changed 145,751 (6.81%) page size 1280x1673 -> 1280x1653; diff: diffs/contents_hawaii_obama-s-neighborhood.png

Diff images are in the visual-regression-report artifact on this run.

@RossHathaway
RossHathaway deleted the claude/dots-component-margin-fix-a5sit6 branch September 7, 2026 19:29

This branch was successfully deployed

1 active deployment
Preview — d2c76ccc Deployed Sep 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants